package Control;

import App.DemoStart;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TableColumn;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

import java.io.IOException;
import java.net.URL;

public class HistoryCode {

    @FXML
    private TableColumn<?, ?> tableId;

    @FXML
    private TableColumn<?, ?> tableStayeTime;

    @FXML
    private TableColumn<?, ?> tableState;

    @FXML
    private Button btnUpPage1;

    @FXML
    private Label currentPage;

    @FXML
    private Button btnUpPage;

    @FXML
    private Button btnOut;

    @FXML
    void btnOut(ActionEvent event) {

    }

    @FXML
    void btnUpPage(ActionEvent event) {

    }

    public static void showView() throws IOException {
        Stage HistoryStage = new Stage();
        Parent root = null;
        try {
            root = FXMLLoader.load(DemoStart.class.getResource("../View/HistoryCode.fxml"));
        }catch (Exception e){

        }
        HistoryStage.setTitle("历史记录");
        HistoryStage.setScene(new Scene(root,400,525));
        HistoryStage.show();
    }
}
